<?php

/* -------------------------------------------------------
 *
 *   LiveStreet (v.0.5x)
 *   Plugin Interview (v.0.1.0)
 *   Copyright © 2011 Bishovec Nikolay
 *
 * --------------------------------------------------------
 *
 *   Plugin Page: http://netlanc.net
 *   Contact e-mail: netlanc@yandex.ru
 *
  ---------------------------------------------------------
 */

if (!class_exists('Plugin')) {
    die('Hacking attempt!');
}

class PluginJfu extends Plugin
{
    public $aDelegates = array(
	'template' => array(
	    'actions/ActionPhotoset/add.tpl' => '_add_photoset.tpl',
	),
    );

    public function Activate()
    {
	return true;
    }

    public function Deactivate()
    {
	return true;
    }

    public function Init()
    {
	$this->Viewer_Assign('sTPJfu', rtrim(Plugin::GetTemplatePath('jfu'), '/'));
	$this->Viewer_Assign('sTWPJfu', rtrim(Plugin::GetTemplateWebPath('jfu'), '/'));

    }

}
